<?php
$dbmap['FrbFlatChambre']['belongs_to']['FrbFlatImmeuble'] = array('foreign_key'=>'imm_id');
$dbmap['FrbFlatImmeuble']['has_many']['FrbFlatChambre'] = array('foreign_key'=>'imm_fid');

$dbmap['FrbFlatImmeuble']['belongs_to']['FrbFlatVille'] = array('foreign_key'=>'vil_id');
$dbmap['FrbFlatVille']['has_many']['FrbFlatImmeuble'] = array('foreign_key'=>'vil_id');

$dbmap['FrbFlatChambreres']['belongs_to']['FrbFlatChambre'] = array('foreign_key'=>'cha_id');
$dbmap['FrbFlatChambre']['has_many']['FrbFlatChambreres'] = array('foreign_key'=>'cha_id');



$dbconfig['dev'] = array('localhost', 'marseillmars', 'marseillmars', '26wGOqCe', 'mysql', true, 'collate'=>'utf8_bin', 'charset'=>'utf8');
//$dbconfig['dev'] = array('mysql51-62.perso', 'marseillmars', 'marseillmars', '26wGOqCe', 'mysql', true, 'collate'=>'utf8_bin', 'charset'=>'utf8');